home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem Alert2.bat (all -ok files, all cha files)
- :Alert2
- echo.
- echo.
- echo ╔════════════════════════════════════════════════════════════════╗
- echo ║ *** TEST-RUN by BB INSTALLATION ALERT *** ║
- echo ║ The current Test-Run mode is ON! TEST-RUN may have previously ║
- echo ║ been installed on this system, but uninstalled in Test-Run ON ║
- echo ║ mode, OR you may be just renewing the Test-Run program files. ║
- echo ║ ║
- echo ║ If you were unaware that the Test-Run mode was ON, you should ║
- echo ║ erase the Test-Run files that cause the program to be in this ║
- echo ║ mode, otherwise Test-Run will load the last copy made of the ║
- echo ║ Registry when you SWITCH! If you are refreshing the Test-Run ║
- echo ║ program files, and were aware that the mode was ON, you may ║
- echo ║ disregard the advice to erase the previous Test-Run files and ║
- echo ║ select NO. ║
- echo ╚════════════════════════════════════════════════════════════════╝
- echo.
- echo.
- choice . Delete previous TEST-RUN files
- if errorlevel 2 goto :confirm
- if errorlevel 1 goto :cleanup
-
- :cleanup
- if exist c:\windows\tr~winin.cha attrib c:\windows\tr~winin.cha -r -s -h
- if exist c:\windows\tr~systm.cha attrib c:\windows\tr~systm.cha -r -s -h
- if exist c:\windows\tr~user.cha attrib c:\windows\tr~user.cha -r -s -h
- if exist c:\windows\tr~sysin.cha attrib c:\windows\tr~sysin.cha -r -s -h
- if exist c:\windows\tr~proin.cha attrib c:\windows\tr~proin.cha -r -s -h
- if exist c:\tr~autox.cha attrib c:\tr~autox.cha -r -s -h
- if exist c:\tr~confg.cha attrib c:\tr~confg.cha -r -s -h
- if exist c:\tr~msdos.cha attrib c:\tr~msdos.cha -r -s -h
-
- if exist c:\windows\tr~winin.cha del c:\windows\tr~winin.cha
- if exist c:\windows\tr~systm.cha del c:\windows\tr~systm.cha
- if exist c:\windows\tr~user.cha del c:\windows\tr~user.cha
- if exist c:\windows\tr~sysin.cha del c:\windows\tr~sysin.cha
- if exist c:\windows\tr~proin.cha del c:\windows\tr~proin.cha
- if exist c:\tr~autox.cha del c:\tr~autox.cha
- if exist c:\tr~confg.cha del c:\tr~confg.cha
- if exist c:\tr~msdos.cha del c:\tr~msdos.cha
-
- if exist c:\windows\test~run.bmp del c:\windows\test~run.bmp
-
- if exist c:\windows\command\tr-by-bb\folder\0n.lnk del c:\windows\command\tr-by-bb\folder\0n.lnk
- if exist c:\windows\command\tr-by-bb\folder\0ff.lnk del c:\windows\command\tr-by-bb\folder\0ff.lnk
-
- goto :welcome
-
- :confirm
- echo.
- echo If you were NOT aware that the Test-Run was in ON mode, you should
- echo delete the Test-Run files left on your disk from the previous use.
- echo.
- choice . *LAST CHANCE* Delete previous TEST-RUN files
-
- if errorlevel 2 goto :welcome
- if errorlevel 1 cls
- goto :alert2
-
-
- :Welcome
- start /max Welcome.pif
- goto :exit
-
- :exit
- exit
-
-
-